*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.active{
    width: 40%;
    min-width: 450px;
    min-height: 100px;
    margin-top: -380px;
    background-color: rgb(206, 209, 213);
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    border-radius: 10px;
    position: absolute;
}

#newtask{
    position: relative;
    padding: 30px 20px;
}

#newtask input{
    width: 75%;
    height: 45px;
    font-size: 18px;
    border: 2px solid #d6e3bf;
    padding: 12px;
    border-radius: 12px;
    position: relative;
    font-weight: 500;

}

#newtask input:focus{
    outline: none;
}

#newtask button{ 
    position: relative;
    width: 20%;
    height: 45px;
    background-color: #010809;
    color: rgb(198, 159, 226);
    float: right;
    border-radius: 12px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-size: 16px;

}

#tasks{
    position: relative;
    padding: 30px 20px;
    margin-top: 10px;
    border-radius: 12px;
    width: 100%;
    background-color: #ffffff;

}

.task{
    background-color: #c5e1e6;
    height: 50px;
    margin-bottom: 8px;
    padding: 5px 10px;
    display: flex;
    border-radius: 5px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #939697;
    cursor: pointer;
}

.task span{
    font-size: 15px;
    font-weight: 400;
}

.task button{
    background-color: rgb(153, 54, 107);
    color: white;
    height: 100%;
    width: 40px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    outline: none;
}